package cn.itcast.bos.dao.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import cn.itcast.bos.domain.base.Area;

public interface AreaRepository extends JpaRepository<Area, String> ,JpaSpecificationExecutor<Area>{

	@Query("update Area set deltag=? where id=?")
	@Modifying
	void updateDelflag(Character log, String id);

}
